Hi all,
I want to update a variable if during search the lb of another variable
becomes higher than certain value. I tried this:
constraint if lb(x) > 15 then y=1 else y=0 endif;
but I am afraid that the lb is not getting updated during search and it has
the same value during all the search. Therefore, I assume that the lb(x) is always
the minimum domain of x, even after the pruning of its domain during the
propagation.
Am I right? Do you know another way of doing what I want (checking the lower
bound during the search and propagation and including it in a constraint)
Best regards,
Laura